package com.ruoyi.nucleicacid.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 住户核酸任务对象 t_householdertask
 * 
 * @author kun
 * @date 2022-10-07
 */
public class Householdertask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 任务名 */
    @Excel(name = "任务名")
    private String taskname;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 检测位置 */
    @Excel(name = "检测位置")
    private String detectionposition;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date detectiontime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskname(String taskname) 
    {
        this.taskname = taskname;
    }

    public String getTaskname() 
    {
        return taskname;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStarttime(Date starttime) 
    {
        this.starttime = starttime;
    }

    public Date getStarttime() 
    {
        return starttime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setDetectionposition(String detectionposition) 
    {
        this.detectionposition = detectionposition;
    }

    public String getDetectionposition() 
    {
        return detectionposition;
    }
    public void setDetectiontime(Date detectiontime) 
    {
        this.detectiontime = detectiontime;
    }

    public Date getDetectiontime() 
    {
        return detectiontime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskname", getTaskname())
            .append("status", getStatus())
            .append("name", getName())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .append("detectionposition", getDetectionposition())
            .append("detectiontime", getDetectiontime())
            .toString();
    }
}
